#ifndef DECODE_HPP
#define DECODE_HPP

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <time.h>
#include <stdlib.h>
#include <NTL/GF2.h>
#include <NTL/mat_GF2.h>
#include <NTL/vec_GF2.h>
#include "configs.hpp"

NTL_CLIENT

// sum product decoding algorithm for LDPC codes.
bool decodeSPA(vec_GF2&, const mat_GF2&, int&, const double*);

#endif //DECODE_HPP
